home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Disc to the Future 2
/
Disc to the Future Part II Programmer's Reference (Wayzata Technology)(6013)(1992).bin
/
MAC
/
THINKC
/
TCL1
/
MIDI_MAN
/
CMIDIINP.H
< prev
next >
Wrap
Text File
|
1992-03-07
|
1KB
|
33 lines
//--- CMIDIInputPort.h --------------------------------------------------------
// Copyright ⌐ Paul Ferguson, 1990, 1991, 1992. All rights reserved.
//
// Description:
// Refer to the CMIDI Programmer's Manual for a complete desciption of
// these objects and methods.
// For use with THINK C 5.0 and the THINK Class Library.
//
//----------------------------------------------------------------------------
#pragma once
#include "CMIDIDataPort.h"
#include "CMIDITimePort.h"
class CMIDIInputPort : public CMIDIDataPort
{
public:
OSErr IMIDIInputPort(
StringPtr theName, // Pascal format, 31 char max
OSType thePortID,
Boolean theVisibleFlag,
CMIDITimePort * theTimePort,
long theOffset, // Current, nothing, everything
short theBufSize,
ProcPtr theReadHook);
virtual ProcPtr GetReadHook(void);
virtual void SetReadHook(ProcPtr theReadHook);
virtual void Flush(void);
virtual void Poll(long offsetTime);
virtual void DiscardPacket(MIDIPacketPtr thePacket);
};
// end of CMIDIInputPort.h